package com.scheduling.machine.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 机器类型实体
 *
 * @author 开发团队
 * @since 2025-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("machine_type")
public class MachineType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 机器类型ID
     */
    @TableId(value = "machine_type_id", type = IdType.ASSIGN_ID)
    private String machineTypeId;

    /**
     * 机器类型名称
     */
    @TableField("type_name")
    private String typeName;

    /**
     * 类型描述
     */
    @TableField("description")
    private String description;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
} 